<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>TabSlider</title>
<!--<link href='http://www.imuum.com/demo/demo-style.css' rel='stylesheet'/>-->

<!--<script type="text/javascript" src="zepto.touch2mouse.js"></script>-->
<link href='css/demo.css' rel='stylesheet'/>
<script type="text/javascript" src="js/zepto_min.js"></script>
<script type="text/javascript" src="js/tabslider.js"></script>
</head>
<body>



<div id="wrapper">
	<div id="scroller">
    	
        <div id="tabSlider1" class="tabSlider">  
        	<ul class="tabSlider-hd">
                <li class="curr">标题1</li>
                <li>标题2</li>
                <li>标题3</li>
            </ul> 
            <div class="tabSlider-bd">      
                <div class="tabSlider-wrap">
                    <div class="tabSlider-box curr">
                        <ul>
                            <li>text1</li>
                            <li><div style="background:#CF0" onClick="alert(3)">text1</div></li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                        </ul>
                    </div>
                    <div class="tabSlider-box">
                        <ul>
                            <li>text2</li>
                            <li><a href="http://www.baidu.com" style="display:block; background:#C0F; color:#fff;">text2</a></li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text1</li>
                            <li><div style="background:#CF0" onClick="alert(3)">text1</div></li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                        </ul>
                    </div>
                    <div class="tabSlider-box">
                        <ul>
                        	<li>text1</li>
                            <li><div style="background:#CF0" onClick="alert(3)">text1</div></li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                        </ul>
                    </div>
                </div>  
            </div>
		</div>
        
       <div style="height:200px"></div>
        
        <div id="tabSlider2" class="tabSlider">   
        	<ul class="tabSlider-hd">
                <li>标题1</li>
                <li class="curr">标题2</li>
                <li>标题3</li>
            </ul>  
            <div class="tabSlider-bd">     
                <div class="tabSlider-wrap">
                    <div class="tabSlider-box">
                        <ul>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li><div style="background:#CF0" onClick="alert(3)">text1</div></li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                            <li>text1</li>
                        </ul>
                    </div>
                    <div class="tabSlider-box curr">
                        <ul>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                            <li>text2</li>
                        </ul>
                    </div>
                    <div class="tabSlider-box">
                        <ul>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                            <li>text3</li>
                        </ul>
                    </div>
                </div>  
            </div>
		</div>
        
    	
        <div style="height:200px"></div>
        
        <style>
        	#tabSlider3{
        		
        	}
        </style>
		<div id="tabSlider3" class="tabSlider">
        	<div class="tabSlider-bd">    
                <div class="tabSlider-wrap">
                    <div class="tabSlider-box curr">
                        
                    </div>
                    <div class="tabSlider-box">
                       
                    </div>
                    <div class="tabSlider-box">
                      
                    </div>                    
                </div>
            </div>
            <ul class="tabSlider-hd">
                <li class="curr"></li>
                <li></li>
                <li></li>
                <!--<li></li>
                <li></li>
                <li></li>-->
            </ul>          
		</div>
        
        
        <div style="height:200px"></div>
        
	</div>
</div>
<script type="text/javascript">
$(function(){
	app.TabSlider('#tabSlider1');
	app.TabSlider('#tabSlider2',{type:'line'});
	app.TabSlider('#tabSlider3',{auto:false,type:'slide'});
});
</script>

</body>
</html>
